package com.ruoyi.pachong.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人首页新闻对象 hpage_news
 * 
 * @author ruoyi
 * @date 2022-03-22
 */
public class HpageNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long newId;

    /** 新闻类别 */
    @Excel(name = "新闻类别")
    private Long newType;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String newTypeName;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String newTitle;

    /** 新闻链接 */
    @Excel(name = "新闻链接")
    private String newUrl;

    /** 新闻热度 */
    @Excel(name = "新闻热度")
    private String newHot;

    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newCreatetime;

    /** 新闻状态 */
    @Excel(name = "新闻状态")
    private String newStauts;

    /** 新闻排序 */
    @Excel(name = "新闻排序")
    private Long newOrder;

    /** 采集批次编号 */
    @Excel(name = "采集批次编号")
    private String newUuid;
    
    
    private String className;
    
    private int classOrder;
    
    private String subSiteName;
    
    private String subSiteUrl;
    
    private String subSiteLogo;
    
    private int subSiteOrder;
    
    
    public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public int getClassOrder() {
		return classOrder;
	}

	public void setClassOrder(int classOrder) {
		this.classOrder = classOrder;
	}

	public String getSubSiteName() {
		return subSiteName;
	}

	public void setSubSiteName(String subSiteName) {
		this.subSiteName = subSiteName;
	}

	public String getSubSiteUrl() {
		return subSiteUrl;
	}

	public void setSubSiteUrl(String subSiteUrl) {
		this.subSiteUrl = subSiteUrl;
	}

	public String getSubSiteLogo() {
		return subSiteLogo;
	}

	public void setSubSiteLogo(String subSiteLogo) {
		this.subSiteLogo = subSiteLogo;
	}

	public int getSubSiteOrder() {
		return subSiteOrder;
	}

	public void setSubSiteOrder(int subSiteOrder) {
		this.subSiteOrder = subSiteOrder;
	}

	
    
    
    public void setNewId(Long newId) 
    {
        this.newId = newId;
    }

    public Long getNewId() 
    {
        return newId;
    }
    public void setNewType(Long newType) 
    {
        this.newType = newType;
    }

    public Long getNewType() 
    {
        return newType;
    }
    public void setNewTypeName(String newTypeName) 
    {
        this.newTypeName = newTypeName;
    }

    public String getNewTypeName() 
    {
        return newTypeName;
    }
    public void setNewTitle(String newTitle) 
    {
        this.newTitle = newTitle;
    }

    public String getNewTitle() 
    {
        return newTitle;
    }
    public void setNewUrl(String newUrl) 
    {
        this.newUrl = newUrl;
    }

    public String getNewUrl() 
    {
        return newUrl;
    }
    public void setNewHot(String newHot) 
    {
        this.newHot = newHot;
    }

    public String getNewHot() 
    {
        return newHot;
    }
    public void setNewCreatetime(Date newCreatetime) 
    {
        this.newCreatetime = newCreatetime;
    }

    public Date getNewCreatetime() 
    {
        return newCreatetime;
    }
    public void setNewStauts(String newStauts) 
    {
        this.newStauts = newStauts;
    }

    public String getNewStauts() 
    {
        return newStauts;
    }
    public void setNewOrder(Long newOrder) 
    {
        this.newOrder = newOrder;
    }

    public Long getNewOrder() 
    {
        return newOrder;
    }
    public void setNewUuid(String newUuid) 
    {
        this.newUuid = newUuid;
    }

    public String getNewUuid() 
    {
        return newUuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("newId", getNewId())
            .append("newType", getNewType())
            .append("newTypeName", getNewTypeName())
            .append("newTitle", getNewTitle())
            .append("newUrl", getNewUrl())
            .append("newHot", getNewHot())
            .append("newCreatetime", getNewCreatetime())
            .append("newStauts", getNewStauts())
            .append("newOrder", getNewOrder())
            .append("newUuid", getNewUuid())
            .append("className", getClassName())
            .append("classOrder", getClassOrder())
            .append("subSiteName", getSubSiteName())
            .append("subSiteUrl", getSubSiteUrl())
            .append("subSiteLogo", getSubSiteLogo())
            .append("subSiteOrder", getSubSiteOrder())           
            .toString();
    }
}